<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!--顶部导航条 -->
<div class="am-container header">
	<ul class="message-l">
		<div class="topMessage">
			<s:if test="#session.existUser == null">
				<a href="${pageContext.request.contextPath }/user_loginPage.action" target="_top" class="h">亲，请登录</a>
				<a href="${pageContext.request.contextPath }/user_registPage.action" target="_top">免费注册</a>
			</s:if>
			<s:else>
				<a href="${pageContext.request.contextPath }/user_loginPage.action" target="_top" class="h">
					<s:property value="#session.existUser.name" /></a>|
				<a href="${pageContext.request.contextPath }/order_findByUid.action?pageNo=1" target="_top" class="h">我的订单</a>|
				<a href="${pageContext.request.contextPath }/user_quit.action" target="_top">[退出]</a>|
			</s:else>
			<div class="menu-hd">
			</div>
		</div>
	</ul>
	<ul class="message-r">
		<div class="topMessage home">
			<div class="menu-hd"><a href="${pageContext.request.contextPath }/index_home.action" target="_top" class="h">商城首页</a></div>
		</div>
		<div class="topMessage my-shangcheng">
			<div class="menu-hd MyShangcheng">
			<s:if test="#session.existUser == null">
				<a href="${pageContext.request.contextPath }/user_loginPage.action" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a>
			</s:if>
			<s:else>
				<a href="${pageContext.request.contextPath }/user_person.action" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a>
			</s:else>
			</div>
		</div>
		<div class="topMessage mini-cart">
			<div class="menu-hd">
				<s:if test="#session.existUser == null">
					<a id="mc-menu-hd" href="${pageContext.request.contextPath }/user_loginPage.action" target="_top">
				</s:if>
				<s:else>
					<a id="mc-menu-hd" href="${pageContext.request.contextPath }/cart_myCart" target="_top">
				</s:else>
				<i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span>
				<font style="font-weight: bold;" color="orange">0</font>
				</a>
			</div>
		</div>
		<div class="topMessage favorite">
			<div class="menu-hd">
				<s:if test="#session.existUser == null">
					<a id="mc-menu-hd" href="${pageContext.request.contextPath }/user_loginPage.action" target="_top">
				</s:if>
				<s:else>
					<a href="#" target="_top">
				</s:else>
				<i class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a>
			</div>
	</ul>
</div>
				